package net.huashitong.ssydt.provider.exam.mapper;


import net.huashitong.ssydt.exam.entity.SsExamTestSchedule;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SsExamTestScheduleMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SsExamTestSchedule record);

    int insertSelective(SsExamTestSchedule record);

    SsExamTestSchedule selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsExamTestSchedule record);

    int updateByPrimaryKey(SsExamTestSchedule record);
    /**
     * 获取非历史对象，根据用户id
     *
     * @param userId
     * @return
     */
    SsExamTestSchedule getNotHistoryByUserId(String userId);
}